﻿using System.Collections.Generic;
using NH.Business.Interfaces;
using NH.Domain.Interfaces;
using NH.Provider.Implementations;
using NH.Provider.Interfaces;

namespace NH.Business.Implementations
{
    public class DoctorBusiness : IDoctorBusiness
    {
        private readonly IDoctorHandler _doctorHandler;

        public DoctorBusiness()
        {
            _doctorHandler = new DoctorHandler();
        }

        public IList<IDoctor> GetDoctors(int? departmentId)
        {
            return _doctorHandler.GetDoctors(departmentId);
        }
    }
}
